﻿#ifndef CMDAPPPRJFILEREAD_H
#define CMDAPPPRJFILEREAD_H

#include "CommandManager/CommandBase.h"
#include <QObject>

namespace PostCommand
{
    class CmdAppPrjFileRead : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdAppPrjFileRead();
        ~CmdAppPrjFileRead();

        bool execute() override;
        void undo() override;
        void redo() override;
        void setFileName(QString fileName) { m_fileName = fileName; }

    private:
        QString m_fileName;

    };
}
#endif // !CMDAPPPRJFILEREAD_H
